;---------------------------------------------------------------------------
;===========================================================================
; Definition of the Config 設定檔的定義
;===========================================================================
;---------------------------------------------------------------------------

;===========================================================================
; Initialize (At the start of the round)
; 初始化（在回合開始時）
[Statedef 5900]
type = S

[State 5900, 1] ;Clear all int variables
type = VarRangeSet
trigger1 = RoundsExisted = 0
value = 0

[State 5900, 2] ;Clear all float variables
type = VarRangeSet
trigger1 = RoundsExisted = 0
fvalue = 0

;===========================================================================
; Percentage Damage Switch
; 百分比傷害開關
[State 5900, 3]
type = VarSet
trigger1 = 1
v = 16
value = (1) ;Attack Calculation Ignore Enemy's LifeMax & Defence? YES(1)/NO(0) {Default (1)}
ignorehitpause = 1
; If the Enemy's Defence is below 70 
; and the LifeMax is below 700, this setting will be invalid.

;===========================================================================

;---------------------------------------------------------------------------
; Do not modify the following
; 以下內容請勿修改
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
;---------------------------------------------------------------------------
[State 5900, 4] ;Change palette
type = RemapPal
trigger1 = 1
source = 1,1
dest = 1,palno

[State 5900, 5] ;Intro for round 1
type = ChangeState
trigger1 = roundno = 1
value = 190

[State 5900, 6] ;All other rounds
type = ChangeState
trigger1 = 1
value = 0
